package top.lingkang.fas.admin.param;

import lombok.Data;
import top.lingkang.finalvalidated.constraints.Length;
import top.lingkang.finalvalidated.constraints.NotNull;
import top.lingkang.finalvalidated.constraints.Tag;

/**
 * @author lingkang
 * created by 2025/7/20 5:44
 */
@Data
public class SysUserAddParam {
    @Tag("密码")
    @Length(min = 3, max = 20)
    private String password;
    @Tag("账号")
    @Length(min = 3, max = 20)
    private String userName;
    @Tag("姓名")
    @Length(min = 1, max = 8)
    private String nickName;
    @Tag("性别")
    @Length(max = 1)
    private String sex;
    @Tag("手机号")
    @Length(max = 11)
    private String phoneNumber;
    @Tag("用户类型")
    @NotNull
    @Length(max = 2)
    private String userType;
    @Tag("备注")
    @Length(max = 225)
    private String remark;
}
